{foreach name=view_list_all from=$items item=item key=key}
{$item}{if !$smarty.foreach.view_list_all.last}<br />{/if}
{/foreach}